package text;
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		if (a==0) System.out.println("32");
		else{324人儿特然拖欠工人
		String s=String.valueOf(a);
		s=Integer.toBinaryString(a);
		int b=s.length();
			System.out.println(32-b);
		}
	}

}

/*public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		while(sc.hasNextLine()){
		String s1,s2;
		int sum=0;
		s1=sc.nextLine();
		s1=s1.replace("-","");
		s1=s1.replace(".","");
		for(int i=0;i<s1.length();i++){
			s2=s1.substring(i, i+1);
			sum=sum+Integer.parseInt(s2);
		}
		System.out.println(sum);
	}
		sc.close();
	}
}*/